package com.neo.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.math.BigDecimal;

@Table(name = "t_order")
@Getter
@Setter
public class Order {

    @Id
    private String order_no;
    @ApiModelProperty("客户编号")
    @Column(name = "target_id")
    private Integer targetId;
    @ApiModelProperty("管理平台编号")
    @Column(name = "organization_id")
    private Integer organizationId;
    @ApiModelProperty("客户编号")
    @Column(name = "configure_id")
    private Integer configureId;
    @ApiModelProperty("订单创建时间")
    @Column(name = "order_time")
    private String orderTime;
    @ApiModelProperty("购买数量")
    @Column(name = "sum")
    private Integer sum;
    @ApiModelProperty("支付方式(0银联,1支付宝,2微信)")
    @Column(name = "pay_type")
    private Integer payType;
    @ApiModelProperty("付款帐号")
    @Column(name = "account_number")
    private String accountNumber;
    @ApiModelProperty("价格")
    @Column(name = "money")
    private BigDecimal money;
    @ApiModelProperty("支付时间")
    @Column(name = "pay_time")
    private String payTime;


}